<template>
    <Breadcrumb>
            <BreadcrumbItem :to="path(index)" v-for="(item, index) in $route.meta.name" :key="index">
                {{item}}
            </BreadcrumbItem>
        </Breadcrumb>
</template>
<script>
    export default {
           computed:{
            path(){
                return function(index){
                    return this.$route.meta.path[index];
                }
            }
        }
    }
</script>
